#ifndef _DBG_H
#define _DBG_H


#include "sn_config.h"

#define  DBG_LOG 1

#if DBG_LOG 
    #define dbg_print(format,...)  printf(format, ##__VA_ARGS__) 
   // #define dbg_error(format,...)  printf(format, ##__VA_ARGS__) 
#else 
    #define dbg_print(format,...)
    #define dbg_error(format,...)
#endif
extern uint8_t dbg_flg[5];

#endif // !_DBG_H
